<div class="profilemenu">
  <div class="button" onclick="location.href='?action=profile&page=img<?php if ($_GET['uid'] != '') {
    echo "&uid=" . $_GET['uid'];
  } ?>'">
    <?= getMessageByKey("button.user.profile.menu.img") ?>
  </div>
  <div class="button" onclick="location.href='?action=profile&page=gallery<?php if ($_GET['uid'] != '') {
    echo "&uid=" . $_GET['uid'];
  } ?>'">
    <?= getMessageByKey("button.user.profile.menu.gallery") ?>
  </div>
  <div class="button" onclick="$('#infodiv').fadeToggle('slow')">
    <?= getMessageByKey("button.user.profile.menu.statistics") ?>
  </div>
  <?php
  if (!$guest) {
    ?>
    <div class="button" onclick="location.href='?action=profile&page=sections'" <?php
    if (hasNewTopicMessages()) {
      ?>
      style="background-color: rgba(255, 127, 036, 1);"
    <?
    }
    ?>>
      <?= getMessageByKey("button.user.profile.menu.subscriptions") ?>
    </div>
<!--    <div class="button" onclick="location.href='?action=profile&page=groups'">-->
<!--      --><?//= \controller\ControllerUtil::getMessageByKey("button.user.profile.menu.groups") ?>
<!--    </div>-->
<!--    <div class="button" onclick="location.href='?action=profile&page=info'">-->
<!--      --><?//= \controller\ControllerUtil::getMessageByKey("button.user.profile.menu.info") ?>
<!--    </div>-->
    <div class="button" onclick="location.href='?action=profile&page=settings'">
      <?= getMessageByKey("button.user.profile.menu.settings") ?>
    </div>
  <?php
  }
  ?>
</div>